package com.cnoja.jmsncn.command.event;

import com.cnoja.jmsncn.inf.ICommand;
import com.cnoja.jmsncn.inf.ICommander;

public class NotificationHostChangeEvent extends CommandEvent {
	private String host = null;

	private int port = 0;

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public NotificationHostChangeEvent(ICommander commander, ICommand command) {
		super(commander, command);
		// TODO Auto-generated constructor stub
	}

	public NotificationHostChangeEvent(ICommander commander, ICommand command,
			String hostName, int port) {
		super(commander, command);
		this.host = hostName;
		this.port = port;
	}

}
